﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Common.Utilities.Excel.Export.Group
{

    public class GroupConfig
    {
        #region 行组合枚举

        /// <summary>
        ///  行组合配置枚举值
        /// </summary>
        public static short RowGroupType = 0x1;

        /// <summary>
        /// 列组合配置枚举值
        /// </summary>
        public static short ColumnGroupType = 0x2;

        #endregion

        /// <summary>
        /// 组合类别
        /// </summary>
        public short GroupType { get; set; }

        /// <summary>
        /// 操作的Area
        /// </summary>
        public string AreaId { get; set; }

        /// <summary>
        /// 列组合的字段
        /// </summary>
        public string ColumnField { get; set; }

        #region 行组合属性

        /// <summary>
        /// 组合的开始行
        /// </summary>
        public int FromRow { get; set; }

        /// <summary>
        /// 组合的结束行 
        /// </summary>
        public int ToRow { get; set; }

        #endregion

        #region 列组合配置

        /// <summary>
        /// 开始列的列号
        /// </summary>
        public short FromColumn { get; set; }

        /// <summary>
        /// 结束的行号
        /// </summary>
        public short ToColumn { get; set; }
        
        #endregion


    }
}
